//
//  newCatchController.h
//  HelloWordPrimer
//
//  Created by erik on 2009-10-15.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SpeciesPickerViewController.h"
#import "WeightPickerController.h"
#import <CoreLocation/CoreLocation.h>
#import <MapKit/MapKit.h>


@interface NewCatchController : UIViewController <UIActionSheetDelegate,CLLocationManagerDelegate>
{
	UINavigationController *navController;
	UIActionSheet *actionSheet;
	NSString *speciesValue;
	NSString *weight;
	UILabel *lblSpecies;
	UILabel *lblWeight;
	MKMapView *mapView;
	CLLocation *location;
	NSManagedObjectContext *managedObjectContext;
	UIPickerView *pickerView;
}

-(IBAction)takePhoto:(id)sender;
-(IBAction)setSpecies:(id)sender;
-(IBAction)setWeightValue:(id)sender;

-(void)changeLblSpecies:(NSString *)species;

-(void)useImage:(UIImage *)usedImage;

@property (nonatomic,retain) UINavigationController *navController;
@property (nonatomic,retain) UIActionSheet *actionSheet;
@property (nonatomic,retain) NSString *speciesValue;
@property (nonatomic,retain) NSString *weight;
@property (nonatomic,retain) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, retain) CLLocation *location;

@property (nonatomic,retain) IBOutlet UILabel *lblSpecies;
@property (nonatomic,retain) IBOutlet UILabel *lblWeight;

@end
